<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>收货人信息表单</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            background-color: #f9f9f9;
        }
        .form-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        input[type="text"],
        input[type="tel"],
        textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #4a90e2;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 14px;
        }
        input[type="text"]:focus,
        input[type="tel"]:focus,
        textarea:focus {
            outline: none;
            border-color: red;
        }
        .radio-group {
            margin-top: 5px;
        }
        .radio-group label {
            margin-right: 15px;
        }
        .checkbox-group {
            margin-top: 10px;
        }
        button {
            background-color: #4a90e2;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        button:hover {
            background-color: #357abd;
        }
    </style>
</head>
<body>
    <div class="form-container">
        <form id="deliveryForm">
            <div class="form-group">
                <label for="recipient">收货人</label>
                <input type="text" id="recipient" name="recipient" required>
            </div>

            <div class="form-group">
                <label for="phone">手机号码</label>
                <input type="tel" id="phone" name="phone" required>
            </div>

            <div class="form-group">
                <label for="region">所在地区</label>
                <input type="text" id="region" name="region" required>
            </div>

            <div class="form-group">
                <label for="address">详细地址</label>
                <textarea id="address" name="address" rows="4" required></textarea>
            </div>

            <div class="form-group">
                <label>标签</label>
                <div class="radio-group">
                    <label><input type="radio" name="tag" value="home" checked> 家</label>
                    <label><input type="radio" name="tag" value="company"> 公司</label>
                    <label><input type="radio" name="tag" value="school"> 学校</label>
                </div>
            </div>

            <div class="checkbox-group">
                <label>
                    <input type="checkbox" name="default" value="true" checked> 设置为默认地址
                </label>
            </div>

            <button type="submit">提交</button>
        </form>
    </div>

    <script>
        document.getElementById('deliveryForm').addEventListener('submit', function(e) {
            e.preventDefault();
            alert('表单已提交！');
            // 这里可以添加实际的提交逻辑
        });
    </script>
</body>
</html>